package com.jilefojing.beans.pojos;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import com.jilefojing.beans.pojos.base.BasePo;

/**
 * 
 * @author 作者 jgshun
 * @date 创建时间 2016年07月19日 17时57分48秒
 */
@Table(name = "t_recommend")
public class Recommend extends BasePo {
	/**
	 * 属性查询列表
	 */
	public static final String FIELD_ID = "id";
	public static final String FIELD_ITEMTYPE = "itemType";
	public static final String FIELD_STATUS = "status";
	public static final String FIELD_CREATETIME = "createTime";
	public static final String FIELD_STARTTIME = "startTime";
	public static final String FIELD_ENDTIME = "endTime";
	public static final String FIELD_CREATEUSER = "createUser";
	public static final String FIELD_UPDATETIME = "updateTime";
	public static final String FIELD_ITEMID = "itemId";
	public static final String FIELD_PLATFORM = "platform";
	public static final String FIELD_COVERURL = "coverUrl";
	public static final String FIELD_INFO = "info";
	public static final String FIELD_SORT = "sort";
	public static final String FIELD_PROGRESSSTATUS = "progressStatus";

	/**
	 * 列名查询列表
	 */
	public static final String COLUMN_ID = "id";
	public static final String COLUMN_ITEM_TYPE = "item_type";
	public static final String COLUMN_STATUS = "status";
	public static final String COLUMN_CREATE_TIME = "create_time";
	public static final String COLUMN_START_TIME = "start_time";
	public static final String COLUMN_END_TIME = "end_time";
	public static final String COLUMN_CREATE_USER = "create_user";
	public static final String COLUMN_UPDATE_TIME = "update_time";
	public static final String COLUMN_ITEM_ID = "item_id";
	public static final String COLUMN_PLATFORM = "platform";
	public static final String COLUMN_COVER_URL = "cover_url";
	public static final String COLUMN_INFO = "info";
	public static final String COLUMN_SORT = "sort";
	public static final String COLUMN_PROGRESS_STATUS = "progress_status";

	@Id
	@GeneratedValue(generator = "JDBC")
	private Long id;
	@Column(name = "item_type")
	private Short itemType;
	@Column(name = "status")
	private Short status;
	@Column(name = "create_time")
	private Date createTime;
	@Column(name = "start_time")
	private Date startTime;
	@Column(name = "end_time")
	private Date endTime;
	@Column(name = "create_user")
	private Long createUser;
	@Column(name = "update_time")
	private Date updateTime;
	@Column(name = "item_id")
	private Long itemId;
	@Column(name = "platform")
	private Short platform;
	@Column(name = "cover_url")
	private String coverUrl;
	@Column(name = "info")
	private String info;
	/**
	 * 排序
	 */
	private Double sort;

	@Column(name = "progress_status")
	private Short progressStatus;

	/**
	 * 获取 主键
	 * 
	 * @return id - 主键
	 */
	public Long getId() {
		return id;
	}

	/**
	 * 设置 主键
	 * 
	 * @param id
	 *            - 主键
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * 获取 推荐的类型
	 * 
	 * @return itemType - 推荐的类型
	 */
	public Short getItemType() {
		return itemType;
	}

	/**
	 * 设置 推荐的类型
	 * 
	 * @param itemType
	 *            - 推荐的类型
	 */
	public void setItemType(Short itemType) {
		this.itemType = itemType;
	}

	/**
	 * 获取 状态(0待推荐 1已推荐 2下线)
	 * 
	 * @return status - 状态(0待推荐 1已推荐 2下线)
	 */
	public Short getStatus() {
		return status;
	}

	/**
	 * 设置 状态(0待推荐 1已推荐 2下线)
	 * 
	 * @param status
	 *            - 状态(0待推荐 1已推荐 2下线)
	 */
	public void setStatus(Short status) {
		this.status = status;
	}

	/**
	 * 获取 创建时间
	 * 
	 * @return createTime - 创建时间
	 */
	public Date getCreateTime() {
		return createTime;
	}

	/**
	 * 设置 创建时间
	 * 
	 * @param createTime
	 *            - 创建时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	/**
	 * 获取 开始时间
	 * 
	 * @return startTime - 开始时间
	 */
	public Date getStartTime() {
		return startTime;
	}

	/**
	 * 设置 开始时间
	 * 
	 * @param startTime
	 *            - 开始时间
	 */
	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	/**
	 * 获取 结束时间
	 * 
	 * @return endTime - 结束时间
	 */
	public Date getEndTime() {
		return endTime;
	}

	/**
	 * 设置 结束时间
	 * 
	 * @param endTime
	 *            - 结束时间
	 */
	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	/**
	 * 获取 创建者
	 * 
	 * @return createUser - 创建者
	 */
	public Long getCreateUser() {
		return createUser;
	}

	/**
	 * 设置 创建者
	 * 
	 * @param createUser
	 *            - 创建者
	 */
	public void setCreateUser(Long createUser) {
		this.createUser = createUser;
	}

	/**
	 * 获取 更新时间
	 * 
	 * @return updateTime - 更新时间
	 */
	public Date getUpdateTime() {
		return updateTime;
	}

	/**
	 * 设置 更新时间
	 * 
	 * @param updateTime
	 *            - 更新时间
	 */
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	/**
	 * 获取 推荐对象
	 * 
	 * @return itemId - 推荐对象
	 */
	public Long getItemId() {
		return itemId;
	}

	/**
	 * 设置 推荐对象
	 * 
	 * @param itemId
	 *            - 推荐对象
	 */
	public void setItemId(Long itemId) {
		this.itemId = itemId;
	}

	/**
	 * 获取 展示平台
	 * 
	 * @return platform - 展示平台
	 */
	public Short getPlatform() {
		return platform;
	}

	/**
	 * 设置 展示平台
	 * 
	 * @param platform
	 *            - 展示平台
	 */
	public void setPlatform(Short platform) {
		this.platform = platform;
	}

	public String getCoverUrl() {
		return coverUrl;
	}

	public void setCoverUrl(String coverUrl) {
		this.coverUrl = coverUrl;
	}

	public String getInfo() {
		return info;
	}

	public void setInfo(String info) {
		this.info = info;
	}

	public Double getSort() {
		return sort;
	}

	public void setSort(Double sort) {
		this.sort = sort;
	}

	public Short getProgressStatus() {
		return progressStatus;
	}

	public void setProgressStatus(Short progressStatus) {
		this.progressStatus = progressStatus;
	}

}